﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;
using Portal.Entity;
using Portal.Logic;

namespace PortalWebService
{
    /// <summary>
    ///
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    public class SecurityService : System.Web.Services.WebService
    {

        [WebMethod]
        public List<ResourceEntity> GetSecurityList(string loginName)
        {
            SecurityLogic sec = new SecurityLogic();
            return sec.GetSecurityList(loginName);
        }
    }
}
